﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

internal struct Point
{
    public int X;
    public int Y;

    public override int GetHashCode()
    {
        return 4357 * X + Y;
    }

    public Point(int x, int y)
    {
        X = x;
        Y = y;
    }
}
